package com.darsystems.foghourz.client;

import java.util.Date;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface FogBugzServiceAsync {
	void login(String userName, String password, AsyncCallback<String> callback);
	void executeCommand(String token, String command, String args, AsyncCallback<FBResponse> callback);
	void getDailyWork(String token, Date end, int previousDays, AsyncCallback<DailyWork []> callback);
	void getUserWorkInfo(String token, AsyncCallback<UserWorkInfo> callback);
	void stopWork(String token, AsyncCallback<FBResponse> callback);
}
